package com.dandelion.common.domain;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class CategoryWrapperVO implements Serializable {
    private CategoryVO category;

    public CategoryWrapperVO(CategoryVO category) {
        this.category = category;
    }

    public Byte getIsLeaf() {
        return category.getIsLeaf();
    }

    public String getId() {
        return category.getId();
    }

    public String getName() {
        return category.getName();
    }
}
